package com.yhsimon.realm.member;

import com.yhsimon.realm.member.properties.MinioProperties;
import com.yhsimon.realm.member.properties.UserAuthProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@MapperScan("com.yhsimon.realm.member.mapper")
@EnableConfigurationProperties(value = {UserAuthProperties.class, MinioProperties.class})
@EnableDiscoveryClient
public class RealmMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(RealmMemberApplication.class, args);
    }

}
